public class IAMcrazyHaggler extends SouthamptonAgent
acceptMultiplier, bidSpace, MAXIMUM_ASPIRATION, myLastAction, myLastBid, myPreviousBids, opponentBids, opponentIsHardHead, opponentModel, opponentPreviousBidfNegotiation, parametervalues, sessionNr, sessionsTotal, startTime, strategyParameters, timeline, totalTime, utilitySpace| Constructor and Description |
|---|
IAMcrazyHaggler() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getName() |
static java.lang.String |
getVersion() |
void |
init()
This method is called by the protocol every time before starting a new
session after the internalInit method is called.
|
protected Bid |
proposeInitialBid()
Propose the initial bid.
|
protected Bid |
proposeNextBid(Bid opponentBid)
Propose the next bid.
|
chooseAction, finalize, getAgentNo, getRandomBidInRange, log, ReceiveMessageendSession, getAgentID, getParameterValues, getSessionNumber, getSessionsTotal, getStrategyParameters, getUtility, internalInit, isUIAgent, loadSessionData, parseStrategyParameters, restartDataObjectsFolder, saveSessionData, setAgentID, setName, sleeppublic void init()
Agentinit in class SouthamptonAgentpublic java.lang.String getName()
protected Bid proposeInitialBid() throws java.lang.Exception
SouthamptonAgentproposeInitialBid in class SouthamptonAgentjava.lang.Exceptionprotected Bid proposeNextBid(Bid opponentBid) throws java.lang.Exception
SouthamptonAgentproposeNextBid in class SouthamptonAgentopponentBid - The bid that has just been made by the opponent.java.lang.Exceptionpublic static java.lang.String getVersion()